Sorry, I didn't see your reply. Yes, exit(0) closes the app okay, but it means that things don't work properly the next time the user tries to import the backup file. The app will open, but OpenURLContexts doesn't run.
Topic:
Programming Languages
SubTopic:
Swift
Tags: